package cn.bitkit.base.entity;

import cn.bitkit.base.annotation.FieldInfo;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.FieldNameConstants;

import java.time.LocalDateTime;

/**
 * @author changbo
 */
@Getter
@Setter
@FieldNameConstants
public class BaseEntity {

    @FieldInfo(value = "id", id = true)
    private String id;
    @FieldInfo("创建用户")
    private String creatorId;
    @FieldInfo("创建用户")
    private String creatorName;
    @FieldInfo("创建时间")
    private LocalDateTime createTime;
    @FieldInfo("修改用户")
    private String updaterId;
    @FieldInfo("修改用户")
    private String updaterName;
    @FieldInfo("修改时间")
    private LocalDateTime updateTime;

}
